package com.qdu.service;

import java.util.List;

import com.qdu.entity.Cotenancy;


public interface CotenancyService {
	void addCotenancy(Cotenancy cotenancy);
	
	void updateCotenancy(Cotenancy cotenancy);
	//用户更新租赁信息
	
	void deleteCotenancy(String uid,String hid);
	
	List<Cotenancy> getAllCotenancyByUid(String uid);  
	
	List<Cotenancy> getAllCotenancy(); 
	
	Cotenancy getOneCotenancyByUid(String uid,String hid);
	
	List<Cotenancy> getCorrectCprice(Integer online,Integer offline);
	//获取正确的价格
	List<Cotenancy> getCorrectHaddress(String string);
	
	List<Cotenancy> getCorrectHcgender(String string);
	
	List<Cotenancy>   getCorrectHdes(String string);
	
	List<Cotenancy> getCorrectHtra(String string);
	
	List<Cotenancy> getCorrectHcon(String string);
	
	List<Cotenancy> getCorrectHtype(String string);
	
	List<Cotenancy> getCorrectHpic(String string);
	
	/*
	 * 
	 * 	private String Uid;
    private String Hid;
    private String Cprice;
    private String Hcgender;
    private String Hdes;
    private String Haddress;
    private String Htra;
    private String Hcon;
    private String Htype;
    private String Hpic;
	 */
}
